<%@page import="java.util.List"%>
<%@page import="models.StoreModel"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	List<StoreModel> listStore = (List<StoreModel>) request.getAttribute("listStore");
%>

<jsp:include page="/admin/layouts/header.jsp">
    <jsp:param name="language" value="1" />
</jsp:include>

        <div class="maincontent noright">
        	<div class="maincontentinner">
            	
                <ul class="maintabmenu">
                	<li class="current"><a href="/admin/dashboard">Quản lý kho</a></li>
                </ul><!--maintabmenu-->
                
                <div class="content">
                	<div class="contenttitle radiusbottom0">
	                	<h2 class="table"><span>Danh sách kho</span></h2>
	                </div>              
	                
	                <table cellspacing="0" cellpadding="0" border="0" class="stdtable stdtablecb" id="list-table">
	                    <colgroup>
	                        <col class="con0">
	                        <col class="con1">
	                        <col class="con0">
	                    </colgroup>
	                    <thead>
	                        <tr>
	                        	<th class="head0">Tên kho hàng</th>
	                            <th class="head1">Địa chỉ kho hàng</th>
	                        </tr>
	                    </thead>
	                    <tfoot>
	                        <tr>
	                        	<th class="head0">Tên kho hàng</th>
	                            <th class="head1">Địa chỉ kho hàng</th>
	                        </tr>
	                    </tfoot>
	                    <tbody>
	                    	<% for (int i = 0; i < listStore.size(); i++) { %>
	                        <tr>
	                        	<td class="center"><%=listStore.get(i).getName() %></td>
	                            <td><%=listStore.get(i).getAddress() %></td>
	                        </tr>
	                        <% } %>
	                    </tbody>
	                </table>
                </div><!--content-->
                
            </div><!--maincontentinner-->
            
            <jsp:include page="/admin/elements/copyright.jsp">
            	<jsp:param name="language" value="1" />
			</jsp:include>
            
        </div><!--maincontent-->
        
<jsp:include page="/admin/layouts/footer.jsp">
    <jsp:param name="language" value="1" />
</jsp:include>